package com.wx.user.controller;


import com.baomidou.mybatisplus.extension.api.ApiController;
import com.wx.commons.entity.RoleOperationInfo;
import com.wx.user.service.RoleOperationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/roleOperation")
public class RoleOperationController extends ApiController {

    @Autowired
    private RoleOperationService roleOperationService;



    @PostMapping("/info")
    public List<RoleOperationInfo> getRoleOperationInfo(){
        return roleOperationService.getRoleOperationInfo();
    }
}
